]> dgit.raspbian.org Git - gnome-shell.git/commit
overviewControls: Don't allow appearing controls to "pop in"
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 19 Sep 2013 00:17:32 +0000 (20:17 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 26 Sep 2013 17:39:20 +0000 (13:39 -0400)
commite31693bbeea706bc646298d935e5e55e9ef01565
tree39f75ab0b1ed840c89de9c17ab4f2837346deef2
parentfb561f10a7040ea682ad648e8687b8295f366854
overviewControls: Don't allow appearing controls to "pop in"

When coming back from search or apps, the workspace thumbnails and dash
don't slide in but "pop in". This is because of bad timing: when slideIn
is called, we immediately start the translation animation, and it
completes before by the time we fade the new page in.

Fix this by calling slideIn and slideOut at two different times: we now
slide out when the old page with our controls is fading out, and slide in
when the new page with our controls is fading in.

https://bugzilla.gnome.org/show_bug.cgi?id=708340
js/ui/overviewControls.js